package com.nlp.trie.statemachine;

/**
 * 变换
 * @author ygsong.abcft
 *
 */
public class Transition {
	//条件
	private Guard guard;
	//下一个状态
	private State nextState;
	//当前状态
	private State state;
	
	public Transition() {
	}
	
	public Guard getGuard() {
		return guard;
	}
	public void setGuard(Guard g) {
		this.guard = g;
	}
	
	public State getNextState() {
		return nextState;
	}
	public void setNextState(State s) {
		this.nextState = s;
	}
	
	public void setState(State s) {
		this.state = s;
	}
	public State getState() {
		return state;
	}

}
